package com.quanyan.video.emun;

import com.quanyan.common.enums.BaseEnum;

/**
 * Created by wmb on 2016/5/27.
 */
public enum VideoErrorEnum implements BaseEnum {
    PROJECT_NOT_EXIST(    10000, "PROJECT_NOT_EXIST"    , "该项目不存在" , false),
    BUCKET_NOT_EXIST(    10000, "PROJECT_NOT_EXIST"    , "该项目不存在" , false),
    ;
    protected int id;

    protected String code;

    protected String label;

    protected boolean success;

    VideoErrorEnum(int id, String code, String label, boolean success) {
        this.id = id;
        this.code = code;
        this.label = label;
        this.success = success;
    }

    @Override
    public int getId() {
        return id;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getLabel() {
        return label;
    }

    @Override
    public boolean isSuccess() {
        return success;
    }
}
